import router from '@system.router';
export default {
    data: {
//        通讯录数组
        mailList: [
            {
                id: 1,
                title: "page1",
                url: 'pages/page1/page1'
            },
            {
                id: 2,
                title: "page2",
                url: 'pages/page2/page2'
            },
            {
                id: 3,
                title: "page3",
                url: 'pages/page3/page3'
            }
        ]
    },
    onReady() {
        this.$child('mail_list').myInit();
    },
    clickInfo(item) {
        router.push({
            uri: item.detail.url
        })
    }
}
